package com.gaea.modules.common.model.entity;


import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * <p>
 * 用户角色表
 * </p>
 *
 * @author bjsonghongxu
 * @since 2017-10-29
 */
@Table(name="sys_user_role")
public class SysUserRole implements Serializable {

    private static final long serialVersionUID = 1L;


	@Id
	private Long id;

    /**
     * 用户ID
     */
	private Long userId;
    /**
     * 角色ID
     */
	private Long roleId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
}
